package com.preskool.service.impl;

import com.preskool.mapper.ClassMapper;
import com.preskool.po.Class;
import com.preskool.service.ClassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author kennyzzz
 * @Data 2021/1/11 6:16
 */
@Service
public class ClassServiceImpl implements ClassService {

    @Autowired(required = false)
    private ClassMapper classMapper;
    @Override
    public Class findClassByName(String clName) {
        return classMapper.selectClassByName(clName);
    }
}
